package com.traffic.managent;

import com.traffic.managent.annotation.ControllerBind;
import com.traffic.managent.base.CxBaseController;
import com.traffic.managent.model.system.User;

@ControllerBind(controllerKey = "/adminCx/home")
public class AdminHomeController extends CxBaseController {

	private static final String path = "/pages/admin/home/";

	public void index() {
		User user = (User) getSessionUser();
		if (user == null) {
			redirect("/home");
			return;
		}
		setAttr("nowUser", user);

		render(path + "home.html");
	}
}
